<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	List<TblSiteNews> list = (List<TblSiteNews>)request.getAttribute("list");
	SiteForm form = (SiteForm)request.getAttribute("command");
	String isimportant = StringUtils.isNotBlank(form.getIsimportant())?form.getIsimportant():"";
	String istop = StringUtils.isNotBlank(form.getIstop())?form.getIstop():"";
	String group = StringUtils.isNotBlank(form.getGroup())?form.getGroup():Constants.NEWS_GROUP_GONGSI;
%>

<div class="main">
	<div class="tab" id="newsTab">
		<ul>
			<li group="0"
				<%=Constants.NEWS_GROUP_GONGSI.equalsIgnoreCase(group)?"class=focus":""%>>
				<a href="javascript:XF.Site.searchNewsByGroup('0')"
				title="点击查看 公司新闻">公司新闻</a>
			</li>
			<li group="1"
				<%=Constants.NEWS_GROUP_HANGYE.equalsIgnoreCase(group)?"class=focus":""%>>
				<a href="javascript:XF.Site.searchNewsByGroup('1')"
				title="点击查看 行业新闻">行业新闻</a>
			</li>
		</ul>
	</div>
	<div class="oaTable">
		<div id="replaceDiv"></div>
	</div>
</div>
<script>
	$(function() {
		XF.Site.searchNews();
	});
</script>
































